﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="viewmessage.aspx.cs" Inherits="CampanyCMS.WebUI.Admin.LeaveMsg.viewmessage" %>

<%@ Register Assembly="My97" Namespace="My97" TagPrefix="cc1" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>
<head>
    <title>查看留言</title>
    <link href="../../css/cssCn1.css" type="text/css" rel="stylesheet">
    <link href="../../css/cssCn.css" type="text/css" rel="stylesheet">

    <script src="../../js/jquery-1.3.2.min.js" type="text/javascript"></script>

    <script type="text/javascript">
        function checkinput() {
            if ($.trim($('#txtOption').val()) == '') {
                alert("请输入意见内容");
                $('#txtOption').focus();
                return false;                
            }
        
        }

    </script>

</head>
<body ms_positioning="GridLayout">
    <form id="Form1" method="post" runat="server">
    <table cellspacing="0" cellpadding="0" width="100%" border="0">
        <tr>
            <td>
                <div class="div_subtitle">
                    当前位置：留言管理<span class="arrow_subtitle">&gt;</span>查看留言</div>
            </td>
        </tr>
    </table>
    <table id="tb_content" cellspacing="0" cellpadding="0">
        <tbody>
            <tr>
                <td>
                    <table id="tb_content" cellspacing="0" cellpadding="0">
                        <tr>
                            <td>
                                <table class="tb_input" id="queryPane" cellspacing="1" cellpadding="0" width="100%"
                                    align="center" bgcolor="#ffffff" border="0">
                                    <tr>
                                        <td colspan="2">
                                            <img src="../../Img/showtoc.gif">
                                            &nbsp;留言内容
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="td_title" width="15%">
                                            称呢：
                                        </td>
                                        <td>
                                            <asp:Label ID="lblUserName" runat="server" Text=""></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="td_title" width="15%">
                                            邮箱：
                                        </td>
                                        <td>
                                            <asp:Label ID="lblEmail" runat="server" Text=""></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="td_title" width="15%">
                                            联系电话：
                                        </td>
                                        <td>
                                            <asp:Label ID="lblTel" runat="server"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="td_title" width="15%">
                                            内容：
                                        </td>
                                        <td>
                                            <asp:Label ID="lblContent" runat="server"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="td_title" width="15%">
                                            留言时间：
                                        </td>
                                        <td>
                                            <asp:Label ID="lblCreateDate" runat="server"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="td_title" width="15%">
                                            备注：
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txtOption" TextMode="MultiLine" Rows="5" runat="server" Width="436px"></asp:TextBox>
                                        </td>
                                    </tr>
                                </table>
                                <table width="100%">
                                    <tr>
                                        <td align="right" width="100%">
                                            <asp:Button ID="btnSave" runat="server" CssClass="Button" Text="标识为已查看" OnClick="btnSave_Click"
                                                OnClientClick="return checkinput()"></asp:Button>
                                            <asp:Button ID="btnReturn" runat="server" Text="返回"  CssClass="Button" 
                                                onclick="btnReturn_Click"  />
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </tbody>
    </table>
    </form>
</body>
</html>
